<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:a="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml">

<ui:define name="body">

    <h:form id="matrizprioristakeholder" styleClass="edit">

        <rich:panel>
            <f:facet name="header">#{matrizprioristakeholderHome.managed ? 'Edit' : 'Add'} Matrizprioristakeholder</f:facet>





            <div style="clear:both">
                <span class="required">*</span>
                required fields
            </div>

        </rich:panel>

        <div class="actionButtons">

            <h:commandButton id="save"
                          value="Save"
                         action="#{matrizprioristakeholderHome.persist}"
                       disabled="#{!matrizprioristakeholderHome.wired}"
                       rendered="#{!matrizprioristakeholderHome.managed}"/>

            <h:commandButton id="update"
                          value="Save"
                         action="#{matrizprioristakeholderHome.update}"
                       rendered="#{matrizprioristakeholderHome.managed}"/>

            <h:commandButton id="delete"
                          value="Delete"
                         action="#{matrizprioristakeholderHome.remove}"
                      immediate="true"
                       rendered="#{matrizprioristakeholderHome.managed}"/>

            <s:button id="cancelEdit"
                   value="Cancel"
             propagation="end"
                    view="/Matrizprioristakeholder.xhtml"
                rendered="#{matrizprioristakeholderHome.managed}"/>

            <s:button id="cancelAdd"
                   value="Cancel"
             propagation="end"
                    view="/#{empty matrizprioristakeholderFrom ? 'MatrizprioristakeholderList' : matrizprioristakeholderFrom}.xhtml"
                rendered="#{!matrizprioristakeholderHome.managed}"/>

        </div>
    </h:form>

<rich:tabPanel switchType="ajax">

    <rich:tab label="Stakeholder by stakeholderavaliadoid *" labelClass="required">
    <div class="association" id="stakeholderByStakeholderavaliadoidParent">

        <h:outputText value="There is no stakeholderByStakeholderavaliadoid associated with this matrizprioristakeholder."
                   rendered="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadoid == null}"/>

        <rich:dataTable var="_stakeholder"
                   value="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadoid}"
                rendered="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadoid != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="stakeholderByStakeholderavaliadoidTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_stakeholder.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Projeto id</f:facet>
                <h:outputText value="#{_stakeholder.projeto.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Usuario id</f:facet>
                <h:outputText value="#{_stakeholder.usuario.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Ccb</f:facet>
                <h:outputText value="#{_stakeholder.ccb}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Papel</f:facet>
                <h:outputText value="#{_stakeholder.papel}"/>
            </h:column>
        </rich:dataTable>

        <div class="actionButtons">
            <s:button id="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadoid != null ? 'changeParent' : 'selectParent'}" value="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadoid != null ? 'Change' : 'Select'} stakeholderByStakeholderavaliadoid"
                       view="/StakeholderList.xhtml">
                <f:param name="from" value="MatrizprioristakeholderEdit"/>
            </s:button>
        </div>

    </div>
    </rich:tab>

    <rich:tab label="Stakeholder by stakeholderavaliadorid *" labelClass="required">
    <div class="association" id="stakeholderByStakeholderavaliadoridParent">

        <h:outputText value="There is no stakeholderByStakeholderavaliadorid associated with this matrizprioristakeholder."
                   rendered="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadorid == null}"/>

        <rich:dataTable var="_stakeholder"
                   value="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadorid}"
                rendered="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadorid != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="stakeholderByStakeholderavaliadoridTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_stakeholder.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Projeto id</f:facet>
                <h:outputText value="#{_stakeholder.projeto.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Usuario id</f:facet>
                <h:outputText value="#{_stakeholder.usuario.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Ccb</f:facet>
                <h:outputText value="#{_stakeholder.ccb}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Papel</f:facet>
                <h:outputText value="#{_stakeholder.papel}"/>
            </h:column>
        </rich:dataTable>

        <div class="actionButtons">
            <s:button id="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadorid != null ? 'changeParent' : 'selectParent'}" value="#{matrizprioristakeholderHome.instance.stakeholderByStakeholderavaliadorid != null ? 'Change' : 'Select'} stakeholderByStakeholderavaliadorid"
                       view="/StakeholderList.xhtml">
                <f:param name="from" value="MatrizprioristakeholderEdit"/>
            </s:button>
        </div>

    </div>
    </rich:tab>

    <rich:tab label="Prioridadestakeholder *" labelClass="required">
    <div class="association" id="prioridadestakeholderParent">

        <h:outputText value="There is no prioridadestakeholder associated with this matrizprioristakeholder."
                   rendered="#{matrizprioristakeholderHome.instance.prioridadestakeholder == null}"/>

        <rich:dataTable var="_prioridadestakeholder"
                   value="#{matrizprioristakeholderHome.instance.prioridadestakeholder}"
                rendered="#{matrizprioristakeholderHome.instance.prioridadestakeholder != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="prioridadestakeholderTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_prioridadestakeholder.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Nome</f:facet>
                <h:outputText value="#{_prioridadestakeholder.nome}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Valor</f:facet>
                <h:outputText value="#{_prioridadestakeholder.valor}"/>
            </h:column>
        </rich:dataTable>

        <div class="actionButtons">
            <s:button id="#{matrizprioristakeholderHome.instance.prioridadestakeholder != null ? 'changeParent' : 'selectParent'}" value="#{matrizprioristakeholderHome.instance.prioridadestakeholder != null ? 'Change' : 'Select'} prioridadestakeholder"
                       view="/PrioridadestakeholderList.xhtml">
                <f:param name="from" value="MatrizprioristakeholderEdit"/>
            </s:button>
        </div>

    </div>
    </rich:tab>
</rich:tabPanel>
</ui:define>

</ui:composition>
